home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20020314-20021006
/
000423_not-a-real-address@usa.net_Fri Oct 4 10:04:13 EDT 2002.msg
< prev
next >
Wrap
Text File
|
2020-01-01
|
2KB
|
40 lines
Article: 13759 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!ord-feed.news.verio.net!stl-feed.news.verio.net!news.cc.ukans.edu!logbridge.uoregon.edu!newsfeed.dacom.co.kr!newsfeed.hananet.net!news-xfer.nuri.net!sn-xit-03!sn-xit-06!sn-post-01!supernews.com!news.supernews.com!not-for-mail
From: those who know me have no need of my name <not-a-real-address@usa.net>
Newsgroups: comp.lang.c,comp.protocols.kermit.misc
Subject: Re: Getchar and null character
Followup-To: comp.protocols.kermit.misc
Date: 04 Oct 2002 03:51:02 GMT
Organization: earthfriends
Message-ID: <m1ofaaj21w.gnus@usa.net>
References: <8847cac8.0210020017.45309597@posting.google.com> <mnjnpuk93854eqtlp43m3a68tmv6c44nei@4ax.com>
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Informed Management
(RC1), i686-redhat-linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@supernews.com
Lines: 21
Xref: newsmaster.cc.columbia.edu comp.lang.c:599400 comp.protocols.kermit.misc:13759
in comp.lang.c i read:
><off-topic>
>Even in binary mode you might have a problem. Many device drivers for
>serial ports discard characters of binary 0, so the OS level and/or C
>level drivers never see them. One reason for this is that a break
>sequence looks like a character of binary 0 with a framing error when
>received by most UARTs.
>
>8 or 10 years ago I needed a desk-top program that could accept
>uploads of binary data that would almost certainly contain binary 0
>characters in the stream. I couldn't find an off-the-shelf terminal
>program for MS-DOS or Windows that wouldn't throw them away, so I
>ended up having to write my own program to access the UART directly.
></off-topic>
if you find yourself in this sort of position again consider kermit, or at
least the code therein.
--
bringing you boring signatures for 17 years